import request from '@/utils/request'

// 查询index
export function selectAllAcceptanceApproval(){
    return request({
        url: "/acceptanceApproval/all/",
        method: "post",
        // data: data
    })
}

//输入关键字搜素
export function query(data){
    return request({
        url: "/acceptanceApproval/query",
        method: "post",
        data: data
    })
}

// 查询accApprovalManger
export function selectAllApprovalData(data){
    return request({
        url: "/acceptanceApproval/selectAllApprovalData/" ,
        method: "post",
        data:data
    })
}
// 审批通过
export function accApproved(data){
    return request({
        url: "/acceptanceApproval/accApproved/",
        method: "post",
        data:data
    })
}

// 审批通过
export function accCancel(data){
    return request({
        url: "/acceptanceApproval/accCancel/" ,
        method: "post",
        data:data
    })
}
